from attest import Tests


suite = lambda mod: 'attest.tests.' + mod + '.suite'

all = Tests([suite('asserts'),
             suite('collections'),
             suite('classy'),
             suite('reporters'),
             suite('eval'),
            ])

from attest import Tests

all = Tests('.'.join((__name__, mod, 'suite'))
            for mod in ('asserts',
                        'collections',
                        'classy',
                        'reporters',
                        'eval'))

Simplify our own test suite
Simplify our own test suite

  from attest import Tests
  
+ all = Tests('.'.join((__name__, mod, 'suite'))
+             for mod in ('asserts',
+                         'collections',
+                         'classy',
+                         'reporters',
+                         'eval'))
  
- suite = lambda mod: 'attest.tests.' + mod + '.suite'
- 
- all = Tests([suite('asserts'),
-              suite('collections'),
-              suite('classy'),
-              suite('reporters'),
-              suite('eval'),
-             ])
- 
Simplify our own test suite
## Code Before:
from attest import Tests


suite = lambda mod: 'attest.tests.' + mod + '.suite'

all = Tests([suite('asserts'),
             suite('collections'),
             suite('classy'),
             suite('reporters'),
             suite('eval'),
            ])

## Instruction:
Simplify our own test suite
## Code After:
from attest import Tests

all = Tests('.'.join((__name__, mod, 'suite'))
            for mod in ('asserts',
                        'collections',
                        'classy',
                        'reporters',
                        'eval'))
