Mar-03-2024, 04:05 PM
thanks, I get
RuntimeError: <module 'webbrowser' from '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/webbrowser.py'>so it seems like the library module is imported. I changed webbrowser to Browser to run this
import unittest import Browser.src.URL class test_URL(unittest.TestCase): def test_init(self): test_URL = URL("http://www.example.org/index.html") test_URL.print_URL() assertEquals(1,1) if __name__ == '__main__': unittest.main()and I get
ModuleNotFoundError: No module named 'Browser'