tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pytest.ini (2781B)


      1 [pytest]
      2 norecursedirs = .* {arch} *.egg third_party
      3 xfail_strict = true
      4 addopts = --strict-markers
      5 markers =
      6    slow: marks tests as slow (deselect with '-m "not slow"')
      7    remote_network
      8 filterwarnings =
      9    error
     10    # ignore importlib changes which six is unlikely to ever adopt
     11    ignore:_SixMetaPathImporter.exec_module\(\) not found; falling back to load_module\(\):ImportWarning
     12    ignore:_SixMetaPathImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning
     13    # ignore urllib3's warning when not using OpenSSL
     14    ignore:.*currently the 'ssl' module is compiled with.*::urllib3
     15    # ignore mozinfo deprecation warnings
     16    ignore:distutils Version classes are deprecated\. Use packaging\.version instead\.:DeprecationWarning:mozinfo
     17    # ingore mozinfo's dependency on distro
     18    ignore:distro\.linux_distribution\(\) is deprecated\. It should only be used as a compatibility shim with Python\'s platform\.linux_distribution\(\)\. Please use distro\.id\(\), distro\.version\(\) and distro\.name\(\) instead\.:DeprecationWarning
     19    # ignore mozversion deprecation warnings
     20    ignore:This method will be removed in .*\.\s+Use 'parser\.read_file\(\)' instead\.:DeprecationWarning:mozversion
     21    # ignore mozversion not cleanly closing .ini files
     22    ignore:unclosed file.*\.ini:ResourceWarning:mozversion
     23    # https://github.com/web-platform-tests/wpt/issues/39366
     24    always:The metaschema specified by \$schema was not found\. Using the latest draft to validate, but this will raise an error in the future\.:DeprecationWarning
     25    # https://github.com/web-platform-tests/wpt/issues/39359
     26    always:'cgi' is deprecated and slated for removal in Python 3:DeprecationWarning
     27    # https://github.com/web-platform-tests/wpt/issues/39373
     28    always:the imp module is deprecated in favour of importlib:DeprecationWarning
     29    # https://github.com/web-platform-tests/wpt/issues/39827
     30    always:pkg_resources is deprecated as an API:DeprecationWarning
     31    # taskcluster and jsone use datetime.utcnow()
     32    ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC:DeprecationWarning:jsone
     33    ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC:DeprecationWarning:taskcluster
     34    # mozfile not yet updated to pass a filter argument to tarfile.extract
     35    ignore:Python 3\.14 will, by default, filter extracted tar archives and reject files or modify their metadata\. Use the filter argument to control this behavior\.:DeprecationWarning
     36    # ignore mozprofile not cleanly closing prefs
     37    ignore:unclosed file.*\.js:ResourceWarning:mozprofile