mirror of https://github.com/scrapy/scrapy.git
Remove obsolete top-level run code in tests.
This commit is contained in:
parent
73f697f1db
commit
c0ea7fd4fd
|
|
@ -37,7 +37,3 @@ class ScrapyUtilsTest(unittest.TestCase):
|
|||
pinned_twisted_version_string = match[1]
|
||||
|
||||
self.assertEqual(twisted_version.short(), pinned_twisted_version_string)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
|
|
@ -528,7 +528,3 @@ class TestHelper(unittest.TestCase):
|
|||
type(a) is type(b), f"Got {type(a)}, expected {type(b)} for { obj!r}"
|
||||
)
|
||||
self.assertEqual(a, b)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
|
|
@ -258,7 +258,3 @@ class UtilsPythonTestCase(unittest.TestCase):
|
|||
without_none_values({"one": 1, "none": None, "three": 3, "four": 4}),
|
||||
{"one": 1, "three": 3, "four": 4},
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Reference in New Issue