mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-06 10:24:24 +00:00
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…
x
Reference in New Issue
Block a user