发生异常: AttributeError
partially initialized module ‘unittest’ has no attribute ‘TestCase’ (most likely due to a circular import)
File “D:\VSObject\二\unittest.py”, line 4, in
class TestDog(unittest.TestCase):
File “D:\VSObject\二\unittest.py”, line 1, in
import unittest
AttributeError: partially initialized module ‘unittest’ has no attribute ‘TestCase’ (most likely due to a circular import)
文件名不可以是unittest.py