Keep the __main__ guard last in the multipatch unit test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8fa9ac0253
commit
21bcb8a141
@@ -311,8 +311,6 @@ class ConstructorAndSchedule(unittest.TestCase):
|
||||
mock_backend(**options)
|
||||
|
||||
|
||||
if __name__=='__main__':
|
||||
unittest.main()
|
||||
|
||||
|
||||
class InitialLevels(unittest.TestCase):
|
||||
@@ -330,3 +328,7 @@ class InitialLevels(unittest.TestCase):
|
||||
((), a, None, None), ((), None, b, c)):
|
||||
with self.subTest(args=args), self.assertRaises(TypeError):
|
||||
f(*args)
|
||||
|
||||
|
||||
if __name__=='__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user