Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.18.2 + master: pytest fails and warnings #593

Open
kloczek opened this issue Sep 6, 2021 · 7 comments
Open

0.18.2 + master: pytest fails and warnings #593

kloczek opened this issue Sep 6, 2021 · 7 comments

Comments

@kloczek
Copy link

kloczek commented Sep 6, 2021

Actually I've used everything up to 3f40bd7 + #544

I'm trying to package your module as an rpm package. So I'm using the typical build, install and test cycle used on building packages from non-root account.

  • "setup.py build"
  • "setup.py install --root </install/prefix>"
  • "pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Looks like there some issue

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -p no:randomly
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2, configfile: pytest.ini
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, anyio-3.3.0, asyncio-0.15.1, trio-0.7.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, Faker-8.12.1, nose2pytest-1.0.8, pyfakefs-4.5.1, tornado-0.8.1, twisted-1.13.3
collected 1132 items

tests/test_future/test_backports.py ....................................                                                                                             [  3%]
tests/test_future/test_buffer.py ...................                                                                                                                 [  4%]
tests/test_future/test_builtins.py ....................s....................sss..............sF............                                                          [ 11%]
tests/test_future/test_bytes.py ....................s..................x........s...............                                                                     [ 16%]
tests/test_future/test_chainmap.py ............                                                                                                                      [ 17%]
tests/test_future/test_common_iterators.py ....                                                                                                                      [ 18%]
tests/test_future/test_decorators.py ..                                                                                                                              [ 18%]
tests/test_future/test_dict.py ..............                                                                                                                        [ 19%]
tests/test_future/test_email_generation.py .                                                                                                                         [ 19%]
tests/test_future/test_email_multipart.py ..                                                                                                                         [ 19%]
tests/test_future/test_explicit_imports.py ..                                                                                                                        [ 20%]
tests/test_future/test_futurize.py ........s...x...x..x..x.......s.xsss.x....x...x.....x.....x.xx.                                                                   [ 25%]
tests/test_future/test_html.py .                                                                                                                                     [ 25%]
tests/test_future/test_htmlparser.py ..........................................ss..........................                                                          [ 31%]
tests/test_future/test_http_cookiejar.py ...........................................................                                                                 [ 37%]
tests/test_future/test_httplib.py ...............s..............                                                                                                     [ 39%]
tests/test_future/test_import_star.py ......                                                                                                                         [ 40%]
tests/test_future/test_imports_httplib.py .                                                                                                                          [ 40%]
tests/test_future/test_imports_urllib.py ..                                                                                                                          [ 40%]
tests/test_future/test_int.py ...................x.........s                                                                                                         [ 43%]
tests/test_future/test_int_old_division.py ssss                                                                                                                      [ 43%]
tests/test_future/test_isinstance.py ................                                                                                                                [ 45%]
tests/test_future/test_libfuturize_fixers.py ...................................                                                                                     [ 48%]
tests/test_future/test_list.py ....................                                                                                                                  [ 49%]
tests/test_future/test_magicsuper.py ..s.s...                                                                                                                        [ 50%]
tests/test_future/test_object.py ..............                                                                                                                      [ 51%]
tests/test_future/test_pasteurize.py ..x...x...xx                                                                                                                    [ 52%]
tests/test_future/test_range.py ........................                                                                                                             [ 55%]
tests/test_future/test_requests.py ..                                                                                                                                [ 55%]
tests/test_future/test_standard_library.py ..........s.....s.............s......s...                                                                                 [ 58%]
tests/test_future/test_str.py .................s............................s..x.                                                                                    [ 63%]
tests/test_future/test_super.py ...............                                                                                                                      [ 64%]
tests/test_future/test_surrogateescape.py ..........                                                                                                                 [ 65%]
tests/test_future/test_urllib.py ...............................................................s................                                                    [ 72%]
tests/test_future/test_urllib2.py .........................F...s........................F                                                                            [ 77%]
tests/test_future/test_urllib_response.py .                                                                                                                          [ 77%]
tests/test_future/test_urllib_toplevel.py .................s.....s..s....................................s................                                           [ 84%]
tests/test_future/test_urllibnet.py ...s..........                                                                                                                   [ 85%]
tests/test_future/test_urlparse.py .................................                                                                                                 [ 88%]
tests/test_future/test_utils.py ...................                                                                                                                  [ 90%]
tests/test_past/test_basestring.py ..                                                                                                                                [ 90%]
tests/test_past/test_builtins.py ...x..xxxxxx...x.xxxxxx....xx..xx..x.xx.xxx...x....x...x.                                                                           [ 95%]
tests/test_past/test_misc.py .                                                                                                                                       [ 95%]
tests/test_past/test_noniterators.py .                                                                                                                               [ 95%]
tests/test_past/test_olddict.py .....................s............                                                                                                   [ 98%]
tests/test_past/test_oldstr.py ....                                                                                                                                  [ 99%]
tests/test_past/test_translation.py ....x....                                                                                                                        [100%]

================================================================================= FAILURES =================================================================================
___________________________________________________________________________ BuiltinTest.test_pow ___________________________________________________________________________

self = <test_future.test_builtins.BuiltinTest testMethod=test_pow>

    def test_pow(self):
        self.assertEqual(pow(0,0), 1)
        self.assertEqual(pow(0,1), 0)
        self.assertEqual(pow(1,0), 1)
        self.assertEqual(pow(1,1), 1)

        self.assertEqual(pow(2,0), 1)
        self.assertEqual(pow(2,10), 1024)
        self.assertEqual(pow(2,20), 1024*1024)
        self.assertEqual(pow(2,30), 1024*1024*1024)

        self.assertEqual(pow(-2,0), 1)
        self.assertEqual(pow(-2,1), -2)
        self.assertEqual(pow(-2,2), 4)
        self.assertEqual(pow(-2,3), -8)

        self.assertAlmostEqual(pow(0.,0), 1.)
        self.assertAlmostEqual(pow(0.,1), 0.)
        self.assertAlmostEqual(pow(1.,0), 1.)
        self.assertAlmostEqual(pow(1.,1), 1.)

        self.assertAlmostEqual(pow(2.,0), 1.)
        self.assertAlmostEqual(pow(2.,10), 1024.)
        self.assertAlmostEqual(pow(2.,20), 1024.*1024.)
        self.assertAlmostEqual(pow(2.,30), 1024.*1024.*1024.)

        self.assertAlmostEqual(pow(-2.,0), 1.)
        self.assertAlmostEqual(pow(-2.,1), -2.)
        self.assertAlmostEqual(pow(-2.,2), 4.)
        self.assertAlmostEqual(pow(-2.,3), -8.)

        for x in 2, int(2), 2.0:
            for y in 10, int(10), 10.0:
                for z in 1000, int(1000), 1000.0:
                    if isinstance(x, float) or \
                       isinstance(y, float) or \
                       isinstance(z, float):
                        self.assertRaises(TypeError, pow, x, y, z)
                    else:
                        self.assertAlmostEqual(pow(x, y, z), 24.0)

        self.assertAlmostEqual(pow(-1, 0.5), 1j)
        self.assertAlmostEqual(pow(-1, 1/3), 0.5 + 0.8660254037844386j)

        # Raises TypeError in Python < v3.5, ValueError in v3.5:
>       self.assertRaises((TypeError, ValueError), pow, -1, -2, 3)
E       AssertionError: (<class 'TypeError'>, <class 'ValueError'>) not raised by pow

tests/test_future/test_builtins.py:1307: AssertionError
__________________________________________________________________________ HandlerTests.test_ftp ___________________________________________________________________________

self = <test_future.test_urllib2.HandlerTests testMethod=test_ftp>

    def test_ftp(self):
        class MockFTPWrapper(object):
            def __init__(self, data): self.data = data
            def retrfile(self, filename, filetype):
                self.filename, self.filetype = filename, filetype
                return io.StringIO(self.data), len(self.data)
            def close(self): pass

        class NullFTPHandler(urllib_request.FTPHandler):
            def __init__(self, data): self.data = data
            def connect_ftp(self, user, passwd, host, port, dirs,
                            timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
                self.user, self.passwd = user, passwd
                self.host, self.port = host, port
                self.dirs = dirs
                self.ftpwrapper = MockFTPWrapper(self.data)
                return self.ftpwrapper

        import ftplib
        data = "rheum rhaponicum"
        h = NullFTPHandler(data)
        h.parent = MockOpener()

        # MIME guessing works in Python 3.8!
        guessed_mime = None
        if sys.hexversion >= 0x03080000:
            guessed_mime = "image/gif"
        for url, host, port, user, passwd, type_, dirs, filename, mimetype in [
            ("ftp://localhost/foo/bar/baz.html",
             "localhost", ftplib.FTP_PORT, "", "", "I",
             ["foo", "bar"], "baz.html", "text/html"),
            ("ftp://parrot@localhost/foo/bar/baz.html",
             "localhost", ftplib.FTP_PORT, "parrot", "", "I",
             ["foo", "bar"], "baz.html", "text/html"),
            ("ftp://%25parrot@localhost/foo/bar/baz.html",
             "localhost", ftplib.FTP_PORT, "%parrot", "", "I",
             ["foo", "bar"], "baz.html", "text/html"),
            ("ftp://%2542parrot@localhost/foo/bar/baz.html",
             "localhost", ftplib.FTP_PORT, "%42parrot", "", "I",
             ["foo", "bar"], "baz.html", "text/html"),
            ("ftp://localhost:80/foo/bar/",
             "localhost", 80, "", "", "D",
             ["foo", "bar"], "", None),
            ("ftp://localhost/baz.gif;type=a",
             "localhost", ftplib.FTP_PORT, "", "", "A",
             [], "baz.gif", guessed_mime),
            ]:
            req = Request(url)
            req.timeout = None
            r = h.ftp_open(req)
            # ftp authentication not yet implemented by FTPHandler
            self.assertEqual(h.user, user)
            self.assertEqual(h.passwd, passwd)
            self.assertEqual(h.host, socket.gethostbyname(host))
            self.assertEqual(h.port, port)
            self.assertEqual(h.dirs, dirs)
            self.assertEqual(h.ftpwrapper.filename, filename)
            self.assertEqual(h.ftpwrapper.filetype, type_)
            headers = r.info()
>           self.assertEqual(headers.get("Content-type"), mimetype)
E           AssertionError: None != 'image/gif'

tests/test_future/test_urllib2.py:730: AssertionError
________________________________________________________________________________ test_main _________________________________________________________________________________

verbose = None

    def test_main(verbose=None):
        # support.run_doctest(test_urllib2, verbose)
        # support.run_doctest(urllib_request, verbose)
        tests = (TrivialTests,
                 OpenerDirectorTests,
                 HandlerTests,
                 MiscTests,
                 RequestTests,
                 RequestHdrsTests)
>       support.run_unittest(*tests)

tests/test_future/test_urllib2.py:1566:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/future/backports/test/support.py:1665: in run_unittest
    _run_suite(suite)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

suite = <unittest.suite.TestSuite tests=[None, None, None, None, None, None]>

    def _run_suite(suite):
        """Run tests from a unittest.TestSuite-derived class."""
        if verbose:
            runner = unittest.TextTestRunner(sys.stdout, verbosity=2,
                                             failfast=failfast)
        else:
            runner = BasicTestRunner()

        result = runner.run(suite)
        if not result.wasSuccessful():
            if len(result.errors) == 1 and not result.failures:
                err = result.errors[0][1]
            elif len(result.failures) == 1 and not result.errors:
                err = result.failures[0][1]
            else:
                err = "multiple errors occurred"
                if not verbose: err += "; run in verbose mode for details"
>           raise TestFailed(err)
E           future.backports.test.support.TestFailed: Traceback (most recent call last):
E             File "/home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib2.py", line 730, in test_ftp
E               self.assertEqual(headers.get("Content-type"), mimetype)
E           AssertionError: None != 'image/gif'

../../BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/future/backports/test/support.py:1640: TestFailed
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
test_URLError_reasonstr (test_future.test_urllib2.TrivialTests) ... ok
test___all__ (test_future.test_urllib2.TrivialTests) ... ok
test_parse_http_list (test_future.test_urllib2.TrivialTests) ... ok
test_trivial (test_future.test_urllib2.TrivialTests) ... ok
test_add_non_handler (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_badly_named_methods (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_handled (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_handler_order (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_http_error (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_method_deprecations (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_processors (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_raise (test_future.test_urllib2.OpenerDirectorTests) ... ok
test_basic_and_digest_auth_handlers (test_future.test_urllib2.HandlerTests) ... ok
test_basic_auth (test_future.test_urllib2.HandlerTests) ... ok
test_basic_auth_with_single_quoted_realm (test_future.test_urllib2.HandlerTests) ... ok
test_basic_auth_with_unquoted_realm (test_future.test_urllib2.HandlerTests) ... ok
test_cookie_redirect (test_future.test_urllib2.HandlerTests) ... ok
test_cookies (test_future.test_urllib2.HandlerTests) ... ok
test_errors (test_future.test_urllib2.HandlerTests) ... ok
test_file (test_future.test_urllib2.HandlerTests) ... ok
test_fixpath_in_weirdurls (test_future.test_urllib2.HandlerTests) ... ok
test_ftp (test_future.test_urllib2.HandlerTests) ... FAIL
test_http (test_future.test_urllib2.HandlerTests) ... ok
test_http_doubleslash (test_future.test_urllib2.HandlerTests) ... ok
test_invalid_redirect (test_future.test_urllib2.HandlerTests) ... ok
test_osx_proxy_bypass (test_future.test_urllib2.HandlerTests) ... skipped 'only relevant for OSX'
test_proxy (test_future.test_urllib2.HandlerTests) ... ok
test_proxy_basic_auth (test_future.test_urllib2.HandlerTests) ... ok
test_proxy_https (test_future.test_urllib2.HandlerTests) ... ok
test_proxy_https_proxy_authorization (test_future.test_urllib2.HandlerTests) ... ok
test_proxy_no_proxy (test_future.test_urllib2.HandlerTests) ... ok
test_proxy_no_proxy_all (test_future.test_urllib2.HandlerTests) ... ok
test_redirect (test_future.test_urllib2.HandlerTests) ... ok
test_redirect_fragment (test_future.test_urllib2.HandlerTests) ... ok
test_relative_redirect (test_future.test_urllib2.HandlerTests) ... ok
test_unsupported_auth_basic_handler (test_future.test_urllib2.HandlerTests) ... ok
test_unsupported_auth_digest_handler (test_future.test_urllib2.HandlerTests) ... ok
test_HTTPError_interface (test_future.test_urllib2.MiscTests)
Issue 13211 reveals that HTTPError didn't implement the URLError ... ok
test_build_opener (test_future.test_urllib2.MiscTests) ... ok
test_HTTPError_interface_call (test_future.test_urllib2.RequestTests)
Issue 15701 - HTTPError interface has info method available from URLError ... ok
test_data (test_future.test_urllib2.RequestTests) ... ok
test_get_full_url (test_future.test_urllib2.RequestTests) ... ok
test_get_host (test_future.test_urllib2.RequestTests) ... ok
test_get_host_unquote (test_future.test_urllib2.RequestTests) ... ok
test_get_type (test_future.test_urllib2.RequestTests) ... ok
test_method (test_future.test_urllib2.RequestTests) ... ok
test_proxy (test_future.test_urllib2.RequestTests) ... ok
test_selector (test_future.test_urllib2.RequestTests) ... ok
test_url_fragment (test_future.test_urllib2.RequestTests) ... ok
test_wrapped_url (test_future.test_urllib2.RequestTests) ... ok
test_password_manager (test_future.test_urllib2.RequestHdrsTests) ... ok
test_password_manager_default_port (test_future.test_urllib2.RequestHdrsTests)
The point to note here is that we can't guess the default port if ... ok
test_request_headers_dict (test_future.test_urllib2.RequestHdrsTests)
The Request.headers dictionary is not a documented interface.  It ... ok
test_request_headers_methods (test_future.test_urllib2.RequestHdrsTests)
Note the case normalization of header names here, to ... ok

======================================================================
FAIL: test_ftp (test_future.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib2.py", line 730, in test_ftp
    self.assertEqual(headers.get("Content-type"), mimetype)
AssertionError: None != 'image/gif'

----------------------------------------------------------------------
Ran 54 tests in 0.096s

FAILED (failures=1, skipped=1)
============================================================================= warnings summary =============================================================================
tests/test_future/test_builtins.py:266
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:266: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_builtins.py:288
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:288: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_htmlparser.py:685
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_htmlparser.py:685: DeprecationWarning: invalid escape sequence \=
    "<a $><b $=%><c \=/>",

tests/test_future/test_http_cookiejar.py:1034
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1034: DeprecationWarning: invalid escape sequence \$
    self.assertRegex(h, "\$Port([^=]|$)",

tests/test_future/test_http_cookiejar.py:1373
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1373: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_http_cookiejar.py:1375
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1375: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_urllib.py:536
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:536: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib.py:611
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:611: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllib_toplevel.py:551
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:551: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib_toplevel.py:626
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:626: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_reload
  /usr/lib64/python3.8/importlib/__init__.py:169: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    _bootstrap._exec(spec, module)

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1206: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'ab'),urllib_parse.splitpasswd('user:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1207: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\nb'),urllib_parse.splitpasswd('user:a\nb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1208: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\tb'),urllib_parse.splitpasswd('user:a\tb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1209: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\rb'),urllib_parse.splitpasswd('user:a\rb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1210: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\fb'),urllib_parse.splitpasswd('user:a\fb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\vb'),urllib_parse.splitpasswd('user:a\vb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a:b'),urllib_parse.splitpasswd('user:a:b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a b'),urllib_parse.splitpasswd('user:a b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user 2', 'ab'),urllib_parse.splitpasswd('user 2:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user+1', 'a+b'),urllib_parse.splitpasswd('user+1:a+b'))

tests/test_future/test_urllibnet.py::urlopenNetworkTests::test_getcode
tests/test_future/test_urllibnet.py::test_main
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllibnet.py:103: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    open_url = urllib_request.FancyURLopener().open(URL)

tests/test_future/test_utils.py::TestUtils::test_raise_
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_utils.py:153: DeprecationWarning: Please use assertRaisesRegex instead.
    self.assertRaisesRegexp(

tests/test_past/test_oldstr.py::TestOldStr::test_unescape
  /home/tkloczko/rpmbuild/BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/past/types/oldstr.py:37: DeprecationWarning: invalid escape sequence '\c'
    return s.encode().decode('unicode_escape')

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_future/test_builtins.py:499: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_builtins.py:1412: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1418: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1423: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:482: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_bytes.py:77: test not needed on Py3: all ints are long
SKIPPED [1] tests/test_future/test_bytes.py:555: test requires Python 2
SKIPPED [1] tests/test_future/test_futurize.py:553: not implemented yet
SKIPPED [1] tests/test_future/test_futurize.py:301: --tobytes feature removed for now ...
SKIPPED [1] tests/test_future/test_futurize.py:695: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:653: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:671: Not working yet ...
SKIPPED [1] tests/test_future/test_htmlparser.py:393: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_htmlparser.py:379: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_httplib.py:415: disabled for HTTP 0.9 support
SKIPPED [1] tests/test_future/test_int.py:268: The first parameter must be positional with Python >= 3.7
SKIPPED [4] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:153: old division tests only for Py2
SKIPPED [1] tests/test_future/test_magicsuper.py:54: this test isn't relevant on Py3
SKIPPED [1] tests/test_future/test_magicsuper.py:100: this test isn't relevant for Py3's super()
SKIPPED [1] tests/test_future/test_standard_library.py:257: generic import tests are for Py2 only
SKIPPED [1] tests/test_future/test_standard_library.py:189: not testing for old urllib on Py3
SKIPPED [1] tests/test_future/test_standard_library.py:320: Not testing tkinter import (it may be installed separately from Python)
SKIPPED [1] tests/test_future/test_standard_library.py:329: ssl redirect support on pypi isn't working as expected for now ...
SKIPPED [1] tests/test_future/test_str.py:455: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_str.py:466: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_urllib.py:1169: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllib2.py:1243: only relevant for OSX
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:273: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:225: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:236: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:1182: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllibnet.py:112: test not applicable on Python 3.5 and higher
SKIPPED [1] tests/test_past/test_olddict.py:525: Comparing dicts for order has not been forward-ported
XFAIL tests/test_future/test_bytes.py::TestBytes::test_hash_with_native_types
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_file
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_izip
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_no_unneeded_list_calls
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_problematic_string
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeRenamedStdlib::test_Py2_StringIO_module
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_absolute_import_changes
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_issue_12
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_next_2
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_print_already_function_complex
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_string_exceptions
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_basestring
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_open
  reason:
XFAIL tests/test_future/test_int.py::IntTestCases::test_numpy_cast_as_long_and_newint
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_exception_indentation
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_urllib_request
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_return_annotations_alone
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_single_param_annotations
  reason:
XFAIL tests/test_future/test_str.py::TestStr::test_u_literal_creates_newstr_object
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_apply
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_bytearray_translate
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_callable
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_chr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_cmp
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_coerce
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_compile
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter_subclasses
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_format
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_general_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_getattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_hasattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_input_and_raw_input
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_intern
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_iter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_len
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_min
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_next
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_oct
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_ord
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_pow
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_range
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_round
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_unichr
  reason:
XFAIL tests/test_past/test_builtins.py::TestSorted::test_basic
  reason:
XFAIL tests/test_past/test_translation.py::TestTranslate::test_import_builtin_types
  reason:
FAILED tests/test_future/test_builtins.py::BuiltinTest::test_pow - AssertionError: (<class 'TypeError'>, <class 'ValueError'>) not raised by pow
FAILED tests/test_future/test_urllib2.py::HandlerTests::test_ftp - AssertionError: None != 'image/gif'
FAILED tests/test_future/test_urllib2.py::test_main - future.backports.test.support.TestFailed: Traceback (most recent call last):
=================================================== 3 failed, 1046 passed, 36 skipped, 47 xfailed, 25 warnings in 40.99s ===================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
@kloczek
Copy link
Author

kloczek commented Sep 6, 2021

And even after deselecting those failing units new are popping up.
That is because I'm usimg pytest-randomly which exposes some units dependencies.

================================================================================= FAILURES =================================================================================
________________________________________________________________________ BuiltinTest.test_execfile _________________________________________________________________________

self = <test_past.test_builtins.BuiltinTest testMethod=test_execfile>

    def test_execfile(self):
        global numruns
        if numruns:
            return
        numruns += 1

        globals = {'a': 1, 'b': 2}
        locals = {'b': 200, 'c': 300}

        self.assertEqual(self.__class__.z, 2)
        globals['z'] = 0
>       execfile(TESTFN, globals)

tests/test_past/test_builtins.py:517:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = '/tmp/tmpuk6pk_d2/@test_2914153_tmp', myglobals = {'a': 1, 'b': 2, 'z': 0}, mylocals = {'a': 1, 'b': 2, 'z': 0}

    def execfile(filename, myglobals=None, mylocals=None):
        """
        Read and execute a Python script from a file in the given namespaces.
        The globals and locals are dictionaries, defaulting to the current
        globals and locals. If only globals is given, locals defaults to it.
        """
        if myglobals is None:
            # There seems to be no alternative to frame hacking here.
            caller_frame = inspect.stack()[1]
            myglobals = caller_frame[0].f_globals
            mylocals = caller_frame[0].f_locals
        elif mylocals is None:
            # Only if myglobals is given do we set mylocals to it.
            mylocals = myglobals
        if not isinstance(myglobals, Mapping):
            raise TypeError('globals must be a mapping')
        if not isinstance(mylocals, Mapping):
            raise TypeError('locals must be a mapping')
>       with open(filename, "rb") as fin:
E       FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuk6pk_d2/@test_2914153_tmp'

../../BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/past/builtins/misc.py:151: FileNotFoundError
============================================================================= warnings summary =============================================================================
tests/test_future/test_builtins.py:266
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:266: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_builtins.py:288
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:288: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_htmlparser.py:685
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_htmlparser.py:685: DeprecationWarning: invalid escape sequence \=
    "<a $><b $=%><c \=/>",

tests/test_future/test_http_cookiejar.py:1034
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1034: DeprecationWarning: invalid escape sequence \$
    self.assertRegex(h, "\$Port([^=]|$)",

tests/test_future/test_http_cookiejar.py:1373
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1373: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_http_cookiejar.py:1375
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1375: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_urllib.py:536
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:536: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib.py:611
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:611: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllib_toplevel.py:551
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:551: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib_toplevel.py:626
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:626: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllibnet.py::test_main
tests/test_future/test_urllibnet.py::urlopenNetworkTests::test_getcode
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllibnet.py:103: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    open_url = urllib_request.FancyURLopener().open(URL)

tests/test_future/test_utils.py::TestUtils::test_raise_
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_utils.py:153: DeprecationWarning: Please use assertRaisesRegex instead.
    self.assertRaisesRegexp(

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1206: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'ab'),urllib_parse.splitpasswd('user:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1207: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\nb'),urllib_parse.splitpasswd('user:a\nb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1208: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\tb'),urllib_parse.splitpasswd('user:a\tb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1209: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\rb'),urllib_parse.splitpasswd('user:a\rb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1210: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\fb'),urllib_parse.splitpasswd('user:a\fb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\vb'),urllib_parse.splitpasswd('user:a\vb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a:b'),urllib_parse.splitpasswd('user:a:b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a b'),urllib_parse.splitpasswd('user:a b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user 2', 'ab'),urllib_parse.splitpasswd('user 2:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user+1', 'a+b'),urllib_parse.splitpasswd('user+1:a+b'))

tests/test_past/test_oldstr.py::TestOldStr::test_unescape
  /home/tkloczko/rpmbuild/BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/past/types/oldstr.py:37: DeprecationWarning: invalid escape sequence '\c'
    return s.encode().decode('unicode_escape')

tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_reload
  /usr/lib64/python3.8/importlib/__init__.py:169: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    _bootstrap._exec(spec, module)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_future/test_bytes.py:555: test requires Python 2
SKIPPED [1] tests/test_future/test_bytes.py:77: test not needed on Py3: all ints are long
SKIPPED [1] tests/test_future/test_magicsuper.py:100: this test isn't relevant for Py3's super()
SKIPPED [1] tests/test_future/test_magicsuper.py:54: this test isn't relevant on Py3
SKIPPED [1] tests/test_future/test_httplib.py:415: disabled for HTTP 0.9 support
SKIPPED [1] tests/test_future/test_urllibnet.py:112: test not applicable on Python 3.5 and higher
SKIPPED [4] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:153: old division tests only for Py2
SKIPPED [1] tests/test_future/test_urllib.py:1169: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_futurize.py:671: Not working yet ...
SKIPPED [1] tests/test_future/test_futurize.py:653: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:695: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:301: --tobytes feature removed for now ...
SKIPPED [1] tests/test_future/test_futurize.py:553: not implemented yet
SKIPPED [1] tests/test_past/test_olddict.py:525: Comparing dicts for order has not been forward-ported
SKIPPED [1] tests/test_future/test_str.py:466: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_str.py:455: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:1182: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:273: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:225: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:236: skipping test that uses https
SKIPPED [1] tests/test_future/test_htmlparser.py:393: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_htmlparser.py:379: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_builtins.py:1418: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1412: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1423: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:499: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_builtins.py:482: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_int.py:268: The first parameter must be positional with Python >= 3.7
SKIPPED [1] tests/test_future/test_standard_library.py:189: not testing for old urllib on Py3
SKIPPED [1] tests/test_future/test_standard_library.py:320: Not testing tkinter import (it may be installed separately from Python)
SKIPPED [1] tests/test_future/test_standard_library.py:329: ssl redirect support on pypi isn't working as expected for now ...
SKIPPED [1] tests/test_future/test_standard_library.py:257: generic import tests are for Py2 only
SKIPPED [1] tests/test_future/test_urllib2.py:1243: only relevant for OSX
XFAIL tests/test_future/test_bytes.py::TestBytes::test_hash_with_native_types
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeRenamedStdlib::test_Py2_StringIO_module
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_izip
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_no_unneeded_list_calls
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_file
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_problematic_string
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_issue_12
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_print_already_function_complex
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_absolute_import_changes
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_string_exceptions
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_next_2
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_basestring
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_open
  reason:
XFAIL tests/test_future/test_str.py::TestStr::test_u_literal_creates_newstr_object
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_exception_indentation
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_urllib_request
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_return_annotations_alone
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_single_param_annotations
  reason:
XFAIL tests/test_past/test_builtins.py::TestSorted::test_basic
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_min
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_ord
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_chr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_input_and_raw_input
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_intern
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_iter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_bytearray_translate
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_callable
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_next
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_oct
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_len
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_getattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_unichr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_round
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_general_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter_subclasses
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_cmp
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_apply
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_hasattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_compile
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_range
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_coerce
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_format
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_pow
  reason:
XFAIL tests/test_past/test_translation.py::TestTranslate::test_import_builtin_types
  reason:
XFAIL tests/test_future/test_int.py::IntTestCases::test_numpy_cast_as_long_and_newint
  reason:
FAILED tests/test_past/test_builtins.py::BuiltinTest::test_execfile - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuk6pk_d2/@test_2914153_tmp'
============================================ 1 failed, 1045 passed, 36 skipped, 3 deselected, 47 xfailed, 25 warnings in 42.40s ============================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.

This kind of issues can be diagnosed using https://github.com/mrbean-bremen/pytest-find-dependencies/

@kloczek
Copy link
Author

kloczek commented Sep 6, 2021

Just tested running 3 times that after disanble pytest-randomly pluging there is no no new fails

+ /usr/bin/pytest -ra -p no:randomly --deselect tests/test_future/test_builtins.py::BuiltinTest::test_pow --deselect tests/test_future/test_urllib2.py::HandlerTests::test_ftp --deselect tests/test_future/test_urllib2.py::test_main
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2, configfile: pytest.ini
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, anyio-3.3.0, asyncio-0.15.1, trio-0.7.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, Faker-8.12.1, nose2pytest-1.0.8, pyfakefs-4.5.1, tornado-0.8.1, twisted-1.13.3
collected 1132 items / 3 deselected / 1129 selected

tests/test_future/test_backports.py ....................................                                                                                             [  3%]
tests/test_future/test_buffer.py ...................                                                                                                                 [  4%]
tests/test_future/test_builtins.py ....................s....................sss..............s............                                                           [ 11%]
tests/test_future/test_bytes.py ....................s..................x........s...............                                                                     [ 16%]
tests/test_future/test_chainmap.py ............                                                                                                                      [ 17%]
tests/test_future/test_common_iterators.py ....                                                                                                                      [ 18%]
tests/test_future/test_decorators.py ..                                                                                                                              [ 18%]
tests/test_future/test_dict.py ..............                                                                                                                        [ 19%]
tests/test_future/test_email_generation.py .                                                                                                                         [ 19%]
tests/test_future/test_email_multipart.py ..                                                                                                                         [ 19%]
tests/test_future/test_explicit_imports.py ..                                                                                                                        [ 20%]
tests/test_future/test_futurize.py ........s...x...x..x..x.......s.xsss.x....x...x.....x.....x.xx.                                                                   [ 25%]
tests/test_future/test_html.py .                                                                                                                                     [ 25%]
tests/test_future/test_htmlparser.py ..........................................ss..........................                                                          [ 31%]
tests/test_future/test_http_cookiejar.py ...........................................................                                                                 [ 37%]
tests/test_future/test_httplib.py ...............s..............                                                                                                     [ 39%]
tests/test_future/test_import_star.py ......                                                                                                                         [ 40%]
tests/test_future/test_imports_httplib.py .                                                                                                                          [ 40%]
tests/test_future/test_imports_urllib.py ..                                                                                                                          [ 40%]
tests/test_future/test_int.py ...................x.........s                                                                                                         [ 43%]
tests/test_future/test_int_old_division.py ssss                                                                                                                      [ 43%]
tests/test_future/test_isinstance.py ................                                                                                                                [ 45%]
tests/test_future/test_libfuturize_fixers.py ...................................                                                                                     [ 48%]
tests/test_future/test_list.py ....................                                                                                                                  [ 49%]
tests/test_future/test_magicsuper.py ..s.s...                                                                                                                        [ 50%]
tests/test_future/test_object.py ..............                                                                                                                      [ 51%]
tests/test_future/test_pasteurize.py ..x...x...xx                                                                                                                    [ 52%]
tests/test_future/test_range.py ........................                                                                                                             [ 55%]
tests/test_future/test_requests.py ..                                                                                                                                [ 55%]
tests/test_future/test_standard_library.py ..........s.....s.............s......s...                                                                                 [ 58%]
tests/test_future/test_str.py .................s............................s..x.                                                                                    [ 63%]
tests/test_future/test_super.py ...............                                                                                                                      [ 64%]
tests/test_future/test_surrogateescape.py ..........                                                                                                                 [ 65%]
tests/test_future/test_urllib.py ...............................................................s................                                                    [ 72%]
tests/test_future/test_urllib2.py ............................s........................                                                                              [ 77%]
tests/test_future/test_urllib_response.py .                                                                                                                          [ 77%]
tests/test_future/test_urllib_toplevel.py .................s.....s..s....................................s................                                           [ 84%]
tests/test_future/test_urllibnet.py ...s..........                                                                                                                   [ 85%]
tests/test_future/test_urlparse.py .................................                                                                                                 [ 88%]
tests/test_future/test_utils.py ...................                                                                                                                  [ 90%]
tests/test_past/test_basestring.py ..                                                                                                                                [ 90%]
tests/test_past/test_builtins.py ...x..xxxxxx...x.xxxxxx....xx..xx..x.xx.xxx...x....x...x.                                                                           [ 95%]
tests/test_past/test_misc.py .                                                                                                                                       [ 95%]
tests/test_past/test_noniterators.py .                                                                                                                               [ 95%]
tests/test_past/test_olddict.py .....................s............                                                                                                   [ 98%]
tests/test_past/test_oldstr.py ....                                                                                                                                  [ 99%]
tests/test_past/test_translation.py ....x....                                                                                                                        [100%]

============================================================================= warnings summary =============================================================================
tests/test_future/test_builtins.py:266
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:266: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_builtins.py:288
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_builtins.py:288: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_htmlparser.py:685
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_htmlparser.py:685: DeprecationWarning: invalid escape sequence \=
    "<a $><b $=%><c \=/>",

tests/test_future/test_http_cookiejar.py:1034
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1034: DeprecationWarning: invalid escape sequence \$
    self.assertRegex(h, "\$Port([^=]|$)",

tests/test_future/test_http_cookiejar.py:1373
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1373: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_http_cookiejar.py:1375
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_http_cookiejar.py:1375: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_urllib.py:536
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:536: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib.py:611
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib.py:611: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllib_toplevel.py:551
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:551: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib_toplevel.py:626
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:626: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_reload
  /usr/lib64/python3.8/importlib/__init__.py:169: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    _bootstrap._exec(spec, module)

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1206: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'ab'),urllib_parse.splitpasswd('user:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1207: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\nb'),urllib_parse.splitpasswd('user:a\nb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1208: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\tb'),urllib_parse.splitpasswd('user:a\tb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1209: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\rb'),urllib_parse.splitpasswd('user:a\rb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1210: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\fb'),urllib_parse.splitpasswd('user:a\fb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\vb'),urllib_parse.splitpasswd('user:a\vb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a:b'),urllib_parse.splitpasswd('user:a:b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a b'),urllib_parse.splitpasswd('user:a b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user 2', 'ab'),urllib_parse.splitpasswd('user 2:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user+1', 'a+b'),urllib_parse.splitpasswd('user+1:a+b'))

tests/test_future/test_urllibnet.py::urlopenNetworkTests::test_getcode
tests/test_future/test_urllibnet.py::test_main
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_urllibnet.py:103: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    open_url = urllib_request.FancyURLopener().open(URL)

tests/test_future/test_utils.py::TestUtils::test_raise_
  /home/tkloczko/rpmbuild/BUILD/python-future-0.18.2/tests/test_future/test_utils.py:153: DeprecationWarning: Please use assertRaisesRegex instead.
    self.assertRaisesRegexp(

tests/test_past/test_oldstr.py::TestOldStr::test_unescape
  /home/tkloczko/rpmbuild/BUILDROOT/python-future-0.18.2-11.fc35.x86_64/usr/lib/python3.8/site-packages/past/types/oldstr.py:37: DeprecationWarning: invalid escape sequence '\c'
    return s.encode().decode('unicode_escape')

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_future/test_builtins.py:499: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_builtins.py:1412: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1418: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1423: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:482: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_bytes.py:77: test not needed on Py3: all ints are long
SKIPPED [1] tests/test_future/test_bytes.py:555: test requires Python 2
SKIPPED [1] tests/test_future/test_futurize.py:553: not implemented yet
SKIPPED [1] tests/test_future/test_futurize.py:301: --tobytes feature removed for now ...
SKIPPED [1] tests/test_future/test_futurize.py:695: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:653: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:671: Not working yet ...
SKIPPED [1] tests/test_future/test_htmlparser.py:393: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_htmlparser.py:379: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_httplib.py:415: disabled for HTTP 0.9 support
SKIPPED [1] tests/test_future/test_int.py:268: The first parameter must be positional with Python >= 3.7
SKIPPED [4] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:153: old division tests only for Py2
SKIPPED [1] tests/test_future/test_magicsuper.py:54: this test isn't relevant on Py3
SKIPPED [1] tests/test_future/test_magicsuper.py:100: this test isn't relevant for Py3's super()
SKIPPED [1] tests/test_future/test_standard_library.py:257: generic import tests are for Py2 only
SKIPPED [1] tests/test_future/test_standard_library.py:189: not testing for old urllib on Py3
SKIPPED [1] tests/test_future/test_standard_library.py:320: Not testing tkinter import (it may be installed separately from Python)
SKIPPED [1] tests/test_future/test_standard_library.py:329: ssl redirect support on pypi isn't working as expected for now ...
SKIPPED [1] tests/test_future/test_str.py:455: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_str.py:466: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_urllib.py:1169: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllib2.py:1243: only relevant for OSX
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:273: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:225: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:236: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:1182: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllibnet.py:112: test not applicable on Python 3.5 and higher
SKIPPED [1] tests/test_past/test_olddict.py:525: Comparing dicts for order has not been forward-ported
XFAIL tests/test_future/test_bytes.py::TestBytes::test_hash_with_native_types
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_file
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_izip
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_no_unneeded_list_calls
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_problematic_string
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeRenamedStdlib::test_Py2_StringIO_module
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_absolute_import_changes
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_issue_12
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_next_2
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_print_already_function_complex
  reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_string_exceptions
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_basestring
  reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_open
  reason:
XFAIL tests/test_future/test_int.py::IntTestCases::test_numpy_cast_as_long_and_newint
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_exception_indentation
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_urllib_request
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_return_annotations_alone
  reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_single_param_annotations
  reason:
XFAIL tests/test_future/test_str.py::TestStr::test_u_literal_creates_newstr_object
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_apply
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_bytearray_translate
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_callable
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_chr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_cmp
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_coerce
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_compile
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter_subclasses
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_format
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_general_eval
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_getattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_hasattr
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_input_and_raw_input
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_intern
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_iter
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_len
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_min
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_next
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_oct
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_ord
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_pow
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_range
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_round
  reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_unichr
  reason:
XFAIL tests/test_past/test_builtins.py::TestSorted::test_basic
  reason:
XFAIL tests/test_past/test_translation.py::TestTranslate::test_import_builtin_types
  reason:
================================================= 1046 passed, 36 skipped, 3 deselected, 47 xfailed, 25 warnings in 41.30s =================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.

@cclauss
Copy link
Contributor

cclauss commented Feb 21, 2024

Is this now fixed?

@kloczek
Copy link
Author

kloczek commented Feb 21, 2024

Just tested 1.0.0

Here is pytest output
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-future-1.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-future-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' -p no:randomly
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.18, pytest-8.0.1, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0
configfile: pytest.ini
collected 1143 items

tests/test_future/test_backports.py ....................................                                                                                                              [  3%]
tests/test_future/test_buffer.py ...................                                                                                                                                  [  4%]
tests/test_future/test_builtins.py ....................s....................sss..............s.............                                                                           [ 11%]
tests/test_future/test_bytes.py ....................s..................x........s...............                                                                                      [ 16%]
tests/test_future/test_chainmap.py ............                                                                                                                                       [ 17%]
tests/test_future/test_common_iterators.py ....                                                                                                                                       [ 18%]
tests/test_future/test_count.py ..                                                                                                                                                    [ 18%]
tests/test_future/test_decorators.py ..                                                                                                                                               [ 18%]
tests/test_future/test_dict.py ..............                                                                                                                                         [ 19%]
tests/test_future/test_email_generation.py .                                                                                                                                          [ 19%]
tests/test_future/test_email_multipart.py ..                                                                                                                                          [ 19%]
tests/test_future/test_explicit_imports.py ..                                                                                                                                         [ 20%]
tests/test_future/test_futurize.py ........s...x...x..x..x.......s.xsss.x....x...x.....x.....x.xx.                                                                                    [ 25%]
tests/test_future/test_html.py .                                                                                                                                                      [ 25%]
tests/test_future/test_htmlparser.py ..........................................ss..........................                                                                           [ 31%]
tests/test_future/test_http_cookiejar.py ...........................................................                                                                                  [ 37%]
tests/test_future/test_httplib.py ...............s..............                                                                                                                      [ 39%]
tests/test_future/test_import_star.py ......                                                                                                                                          [ 40%]
tests/test_future/test_imports_httplib.py .                                                                                                                                           [ 40%]
tests/test_future/test_imports_urllib.py ..                                                                                                                                           [ 40%]
tests/test_future/test_int.py ...................s.........s                                                                                                                          [ 43%]
tests/test_future/test_int_old_division.py ssss                                                                                                                                       [ 43%]
tests/test_future/test_isinstance.py ................                                                                                                                                 [ 44%]
tests/test_future/test_libfuturize_fixers.py ..........................................                                                                                               [ 48%]
tests/test_future/test_list.py ....................                                                                                                                                   [ 50%]
tests/test_future/test_magicsuper.py ..s.s...                                                                                                                                         [ 50%]
tests/test_future/test_object.py ..............                                                                                                                                       [ 52%]
tests/test_future/test_pasteurize.py ..x...x...xx                                                                                                                                     [ 53%]
tests/test_future/test_range.py ........................                                                                                                                              [ 55%]
tests/test_future/test_requests.py ..                                                                                                                                                 [ 55%]
tests/test_future/test_standard_library.py ...........s.....s.............s......s...                                                                                                 [ 59%]
tests/test_future/test_str.py .................s............................s..x.                                                                                                     [ 63%]
tests/test_future/test_super.py ................                                                                                                                                      [ 65%]
tests/test_future/test_surrogateescape.py ..........                                                                                                                                  [ 65%]
tests/test_future/test_urllib.py ...............................................................s................                                                                     [ 72%]
tests/test_future/test_urllib2.py .............................s.........................                                                                                             [ 77%]
tests/test_future/test_urllib_response.py .                                                                                                                                           [ 77%]
tests/test_future/test_urllib_toplevel.py .................s.....s..s....................................s................                                                            [ 84%]
tests/test_future/test_urllibnet.py ...s..........                                                                                                                                    [ 86%]
tests/test_future/test_urlparse.py .................................                                                                                                                  [ 88%]
tests/test_future/test_utils.py ...................                                                                                                                                   [ 90%]
tests/test_past/test_basestring.py ..                                                                                                                                                 [ 90%]
tests/test_past/test_builtins.py ...x..xxxxxx...x.xxxxxx....xx..xx..x.xx.xxx...x....x...x.                                                                                            [ 95%]
tests/test_past/test_misc.py .                                                                                                                                                        [ 95%]
tests/test_past/test_noniterators.py .                                                                                                                                                [ 95%]
tests/test_past/test_olddict.py .....................s............                                                                                                                    [ 98%]
tests/test_past/test_oldstr.py ....                                                                                                                                                   [ 99%]
tests/test_past/test_translation.py ....x....                                                                                                                                         [100%]

========================================================================================= XFAILURES =========================================================================================
___________________________________________________________________________ TestBytes.test_hash_with_native_types ___________________________________________________________________________

self = <TestCaseFunction test_hash_with_native_types>, testcase = <test_future.test_bytes.TestBytes testMethod=test_hash_with_native_types>
rawexcinfo = (<class 'TypeError'>, TypeError("assertEqual() missing 1 required positional argument: 'second'"), <traceback object at 0x7fca86e127c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_______________________________________________________________________________ TestFuturizeSimple.test_file ________________________________________________________________________________

self = <TestCaseFunction test_file>, testcase = <test_future.test_futurize.TestFuturizeSimple testMethod=test_file>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError("Error running the command /usr/bin/...f.close()\n\n----", 1, ['/usr/bin/python3', '/tmp/tmpsvn16snx/mytestscript.py']), <traceback object at 0x7fca86eb2600>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_______________________________________________________________________________ TestFuturizeSimple.test_izip ________________________________________________________________________________

self = <TestCaseFunction test_izip>, testcase = <test_future.test_futurize.TestFuturizeSimple testMethod=test_izip>
rawexcinfo = (<class 'AssertionError'>, AssertionError('internal usage error: dedent the code before calling order_future_lines()'), <traceback object at 0x7fca86e786c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
______________________________________________________________________ TestFuturizeSimple.test_no_unneeded_list_calls _______________________________________________________________________

self = <TestCaseFunction test_no_unneeded_list_calls>, testcase = <test_future.test_futurize.TestFuturizeSimple testMethod=test_no_unneeded_list_calls>
rawexcinfo = (<class 'AssertionError'>, AssertionError("'for (a, b) in zip(list(range(3)), list(range(3, 6))):\\n    pass' != 'for ...  -  -----          -\n+ for (a, b) in zip(range(3), range(3, 6)):\n      pass"), <traceback object at 0x7fca86b2bf40>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
________________________________________________________________________ TestFuturizeSimple.test_problematic_string _________________________________________________________________________

self = <TestCaseFunction test_problematic_string>, testcase = <test_future.test_futurize.TestFuturizeSimple testMethod=test_problematic_string>
rawexcinfo = (<class 'future.tests.base.FuturizeError'>, FuturizeError('Error running the command /usr/bin/python3 futurize.py -w /..., ['/usr/bin/python3', 'futurize.py', '-w', '/tmp/tmpin9gj38d/mytestscript.py']), <traceback object at 0x7fca86bc9e80>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
____________________________________________________________________ TestFuturizeRenamedStdlib.test_Py2_StringIO_module _____________________________________________________________________

self = <TestCaseFunction test_Py2_StringIO_module>, testcase = <test_future.test_futurize.TestFuturizeRenamedStdlib testMethod=test_Py2_StringIO_module>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError("Error running the command /usr/bin/...nputType)\n\n----", 1, ['/usr/bin/python3', '/tmp/tmpdxogmgso/mytestscript.py']), <traceback object at 0x7fca877b6fc0>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
______________________________________________________________________ TestFuturizeStage1.test_absolute_import_changes ______________________________________________________________________

self = <TestCaseFunction test_absolute_import_changes>, testcase = <test_future.test_futurize.TestFuturizeStage1 testMethod=test_absolute_import_changes>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError("Error running the command /usr/bin/...el.blah()\n\n----", 1, ['/usr/bin/python3', '/tmp/tmp77dfj2c_/mytestscript.py']), <traceback object at 0x7fca86d0aa80>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_____________________________________________________________________________ TestFuturizeStage1.test_issue_12 ______________________________________________________________________________

self = <TestCaseFunction test_issue_12>, testcase = <test_future.test_futurize.TestFuturizeStage1 testMethod=test_issue_12>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError("Error running the command /usr/bin/...n    pass\n\n----", 1, ['/usr/bin/python3', '/tmp/tmpove4_70n/mytestscript.py']), <traceback object at 0x7fca86bd4a80>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
______________________________________________________________________________ TestFuturizeStage1.test_next_2 _______________________________________________________________________________

self = <TestCaseFunction test_next_2>, testcase = <test_future.test_futurize.TestFuturizeStage1 testMethod=test_next_2>
rawexcinfo = (<class 'AssertionError'>, AssertionError('"class Upper:\\n    def __init__(self, iterable):\\n   [285 chars]LO\')" !=...tr) == \'H\'\n  assert next(itr) == \'E\'\n  assert list(itr) == list(\'LLO\')'), <traceback object at 0x7fca86c69f00>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________ TestFuturizeStage1.test_print_already_function_complex ___________________________________________________________________

self = <TestCaseFunction test_print_already_function_complex>, testcase = <test_future.test_futurize.TestFuturizeStage1 testMethod=test_print_already_function_complex>
rawexcinfo = (<class 'future.tests.base.FuturizeError'>, FuturizeError("Error running the command /usr/bin/python3 futurize.py --st.../python3', 'futurize.py', '--stage1', '-w', '/tmp/tmpvd61hk6_/mytestscript.py']), <traceback object at 0x7fca868f1800>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________ TestFuturizeStage1.test_string_exceptions _________________________________________________________________________

self = <TestCaseFunction test_string_exceptions>, testcase = <test_future.test_futurize.TestFuturizeStage1 testMethod=test_string_exceptions>
rawexcinfo = (<class 'AssertionError'>, AssertionError('\'try:\\n    raise "old string exception"\\nexcept Exception as e:\\n    pa...       ++++++++++                      +\n  except Exception as e:\n      pass'), <traceback object at 0x7fca86ed5c80>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________ TestConservativeFuturize.test_basestring __________________________________________________________________________

self = <TestCaseFunction test_basestring>, testcase = <test_future.test_futurize.TestConservativeFuturize testMethod=test_basestring>
rawexcinfo = (<class 'future.tests.base.FuturizeError'>, FuturizeError("Error running the command /usr/bin/python3 futurize.py --co...n3', 'futurize.py', '--conservative', '-w', '/tmp/tmpif0db26s/mytestscript.py']), <traceback object at 0x7fca868e6a80>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
____________________________________________________________________________ TestConservativeFuturize.test_open _____________________________________________________________________________

self = <TestCaseFunction test_open>, testcase = <test_future.test_futurize.TestConservativeFuturize testMethod=test_open>
rawexcinfo = (<class 'future.tests.base.FuturizeError'>, FuturizeError("Error running the command /usr/bin/python3 futurize.py --co...n3', 'futurize.py', '--conservative', '-w', '/tmp/tmpegpmnfgz/mytestscript.py']), <traceback object at 0x7fca86c68500>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________ TestPasteurize.test_exception_indentation _________________________________________________________________________

self = <TestCaseFunction test_exception_indentation>, testcase = <test_future.test_pasteurize.TestPasteurize testMethod=test_exception_indentation>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError('Error running the command /usr/bin/...eback(tb)\n\n----', 1, ['/usr/bin/python3', '/tmp/tmpdsqfmr2g/mytestscript.py']), <traceback object at 0x7fca866c8540>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
____________________________________________________________________________ TestPasteurize.test_urllib_request _____________________________________________________________________________

self = <TestCaseFunction test_urllib_request>, testcase = <test_future.test_pasteurize.TestPasteurize testMethod=test_urllib_request>
rawexcinfo = (<class 'future.tests.base.VerboseCalledProcessError'>, VerboseCalledProcessError("Error running the command /usr/bin/...r.read())\n\n----", 1, ['/usr/bin/python3', '/tmp/tmp1dvfrmhr/mytestscript.py']), <traceback object at 0x7fca866cf200>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________ TestFuturizeAnnotations.test_return_annotations_alone ___________________________________________________________________

self = <TestCaseFunction test_return_annotations_alone>, testcase = <test_future.test_pasteurize.TestFuturizeAnnotations testMethod=test_return_annotations_alone>
rawexcinfo = (<class 'AssertionError'>, AssertionError('\'def foo(): pass\' != "def foo(): pass\\nfoo.__annotations__ = {\'return\'... foo(): pass\n+ def foo(): pass\nfoo.__annotations__ = {\'return\': \'bar\'}\n'), <traceback object at 0x7fca866dc5c0>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________ TestFuturizeAnnotations.test_single_param_annotations ___________________________________________________________________

self = <TestCaseFunction test_single_param_annotations>, testcase = <test_future.test_pasteurize.TestFuturizeAnnotations testMethod=test_single_param_annotations>
rawexcinfo = (<class 'AssertionError'>, AssertionError('\'def foo(bar): pass\' != "def foo(bar): pass\\nfoo.__annotations__ = {\'ba...o(bar): pass\n+ def foo(bar): pass\nfoo.__annotations__ = {\'bar\': \'baz\'}\n'), <traceback object at 0x7fca86667a40>)
reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_______________________________________________________________________ TestStr.test_u_literal_creates_newstr_object ________________________________________________________________________

self = <TestCaseFunction test_u_literal_creates_newstr_object>, testcase = <test_future.test_str.TestStr testMethod=test_u_literal_creates_newstr_object>
rawexcinfo = (<class 'NameError'>, NameError("name 'b' is not defined"), <traceback object at 0x7fca861d6bc0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_apply ___________________________________________________________________________________

self = <TestCaseFunction test_apply>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_apply>
rawexcinfo = (<class 'AssertionError'>, AssertionError('TypeError not raised by apply'), <traceback object at 0x7fca86017740>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________ BuiltinTest.test_bytearray_translate ____________________________________________________________________________

self = <TestCaseFunction test_bytearray_translate>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_bytearray_translate>
rawexcinfo = (<class 'TypeError'>, TypeError("a bytes-like object is required, not 'str'"), <traceback object at 0x7fca86129800>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________________ BuiltinTest.test_callable _________________________________________________________________________________

self = <TestCaseFunction test_callable>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_callable>
rawexcinfo = (<class 'AssertionError'>, AssertionError('False is not true'), <traceback object at 0x7fca85ff3e80>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_chr ____________________________________________________________________________________

self = <TestCaseFunction test_chr>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_chr>
rawexcinfo = (<class 'AssertionError'>, AssertionError('ValueError not raised by chr'), <traceback object at 0x7fca85fefd00>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_cmp ____________________________________________________________________________________

self = <TestCaseFunction test_cmp>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_cmp>
rawexcinfo = (<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'UserList'"), <traceback object at 0x7fca861297c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_coerce __________________________________________________________________________________

self = <TestCaseFunction test_coerce>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_coerce>
rawexcinfo = (<class 'NameError'>, NameError("name 'coerce' is not defined"), <traceback object at 0x7fca8609eac0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________________ BuiltinTest.test_compile __________________________________________________________________________________

self = <TestCaseFunction test_compile>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_compile>
rawexcinfo = (<class 'SyntaxError'>, SyntaxError('invalid character in identifier', ('', 1, 8, 'print(1)\n')), <traceback object at 0x7fca86097040>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_eval ___________________________________________________________________________________

self = <TestCaseFunction test_eval>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_eval>
rawexcinfo = (<class 'SyntaxError'>, SyntaxError('invalid character in identifier', ('<string>', 1, 4, 'a')), <traceback object at 0x7fca8609b2c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_filter __________________________________________________________________________________

self = <TestCaseFunction test_filter>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_filter>
rawexcinfo = (<class 'IndexError'>, IndexError('tuple index out of range'), <traceback object at 0x7fca8617d7c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
____________________________________________________________________________ BuiltinTest.test_filter_subclasses _____________________________________________________________________________

self = <TestCaseFunction test_filter_subclasses>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_filter_subclasses>
rawexcinfo = (<class 'AssertionError'>, AssertionError('False is not true'), <traceback object at 0x7fca861671c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_format __________________________________________________________________________________

self = <TestCaseFunction test_format>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_format>
rawexcinfo = (<class 'TypeError'>, TypeError("can't concat str to oldstr"), <traceback object at 0x7fca861d2440>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_______________________________________________________________________________ BuiltinTest.test_general_eval _______________________________________________________________________________

self = <TestCaseFunction test_general_eval>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_general_eval>
rawexcinfo = (<class 'AssertionError'>, AssertionError('TypeError not raised by eval'), <traceback object at 0x7fca8613f080>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________________ BuiltinTest.test_getattr __________________________________________________________________________________

self = <TestCaseFunction test_getattr>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_getattr>
rawexcinfo = (<class 'ValueError'>, ValueError('bytes must be in range(0, 256)'), <traceback object at 0x7fca86f4a8c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
_________________________________________________________________________________ BuiltinTest.test_hasattr __________________________________________________________________________________

self = <TestCaseFunction test_hasattr>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_hasattr>
rawexcinfo = (<class 'ValueError'>, ValueError('bytes must be in range(0, 256)'), <traceback object at 0x7fca86048980>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________ BuiltinTest.test_input_and_raw_input ____________________________________________________________________________

self = <TestCaseFunction test_input_and_raw_input>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_input_and_raw_input>
rawexcinfo = (<class 'AssertionError'>, AssertionError("'1+1' != 2"), <traceback object at 0x7fca860980c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_intern __________________________________________________________________________________

self = <TestCaseFunction test_intern>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_intern>
rawexcinfo = (<class 'TypeError'>, TypeError('can only concatenate str (not "oldstr") to str'), <traceback object at 0x7fca86697300>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_iter ___________________________________________________________________________________

self = <TestCaseFunction test_iter>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_iter>
rawexcinfo = (<class 'AttributeError'>, AttributeError("'tuple_iterator' object has no attribute 'next'"), <traceback object at 0x7fca86167240>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_len ____________________________________________________________________________________

self = <TestCaseFunction test_len>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_len>
rawexcinfo = (<class 'TypeError'>, TypeError("object of type 'ClassicStyle' has no len()"), <traceback object at 0x7fca867ce500>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_min ____________________________________________________________________________________

self = <TestCaseFunction test_min>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_min>
rawexcinfo = (<class 'TypeError'>, TypeError("'<' not supported between instances of 'BadNumber' and 'int'"), <traceback object at 0x7fca860cee40>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_next ___________________________________________________________________________________

self = <TestCaseFunction test_next>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_next>
rawexcinfo = (<class 'TypeError'>, TypeError("iter() returned non-iterator of type 'Iter'"), <traceback object at 0x7fca85fe9a00>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_oct ____________________________________________________________________________________

self = <TestCaseFunction test_oct>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_oct>
rawexcinfo = (<class 'AssertionError'>, AssertionError("'0o144' != '0144'\n- 0o144\n?  -\n+ 0144\n"), <traceback object at 0x7fca864ae7c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_ord ____________________________________________________________________________________

self = <TestCaseFunction test_ord>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_ord>
rawexcinfo = (<class 'ValueError'>, ValueError('bytes must be in range(0, 256)'), <traceback object at 0x7fca864c0b80>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ BuiltinTest.test_pow ____________________________________________________________________________________

self = <TestCaseFunction test_pow>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_pow>
rawexcinfo = (<class 'AssertionError'>, AssertionError('TypeError not raised by pow'), <traceback object at 0x7fca85fef100>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_range ___________________________________________________________________________________

self = <TestCaseFunction test_range>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_range>
rawexcinfo = (<class 'AssertionError'>, AssertionError('RuntimeError not raised by oldrange'), <traceback object at 0x7fca864f1340>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_round ___________________________________________________________________________________

self = <TestCaseFunction test_round>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_round>
rawexcinfo = (<class 'AssertionError'>, AssertionError("<class 'int'> != <class 'float'>"), <traceback object at 0x7fca860a2140>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________________ BuiltinTest.test_unichr __________________________________________________________________________________

self = <TestCaseFunction test_unichr>, testcase = <test_past.test_builtins.BuiltinTest testMethod=test_unichr>
rawexcinfo = (<class 'AssertionError'>, AssertionError("' ' != ' '"), <traceback object at 0x7fca8609a840>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
___________________________________________________________________________________ TestSorted.test_basic ___________________________________________________________________________________

self = <TestCaseFunction test_basic>, testcase = <test_past.test_builtins.TestSorted testMethod=test_basic>
rawexcinfo = (<class 'TypeError'>, TypeError("'cmp' is an invalid keyword argument for sort()"), <traceback object at 0x7fca8776b0c0>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
__________________________________________________________________________ TestTranslate.test_import_builtin_types __________________________________________________________________________

self = <TestCaseFunction test_import_builtin_types>, testcase = <test_past.test_translation.TestTranslate testMethod=test_import_builtin_types>
rawexcinfo = (<class 'AssertionError'>, AssertionError('False is not true'), <traceback object at 0x7fca85937e80>), reason = ''

    def addExpectedFailure(
        self,
        testcase: "unittest.TestCase",
        rawexcinfo: "_SysExcInfoType",
        reason: str = "",
    ) -> None:
        try:
>           xfail(str(reason))
E           _pytest.outcomes.XFailed

/usr/lib/python3.8/site-packages/_pytest/unittest.py:282: XFailed
----------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------
Succeeded!
------------------------------------------------------------------------------------- Captured log call -------------------------------------------------------------------------------------
DEBUG    past.translation:__init__.py:364 Running find_spec: (test_builtin_types, None, None)
DEBUG    past.translation:__init__.py:309 Running exec_module for <module 'test_builtin_types' from '/tmp/tmp4jlsgrzk/test_builtin_types.py'>
DEBUG    past.translation:__init__.py:311 Autoconverting test_builtin_types
DEBUG    past.translation:__init__.py:235 Detected Python 2 code: /tmp/tmp4jlsgrzk/test_builtin_types.py
===================================================================================== warnings summary ======================================================================================
tests/test_future/test_builtins.py:266
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_builtins.py:266: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_builtins.py:288
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_builtins.py:288: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_htmlparser.py:685
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_htmlparser.py:685: DeprecationWarning: invalid escape sequence \=
    "<a $><b $=%><c \=/>",

tests/test_future/test_http_cookiejar.py:1034
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_http_cookiejar.py:1034: DeprecationWarning: invalid escape sequence \$
    self.assertRegex(h, "\$Port([^=]|$)",

tests/test_future/test_http_cookiejar.py:1373
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_http_cookiejar.py:1373: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_http_cookiejar.py:1375
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_http_cookiejar.py:1375: DeprecationWarning: invalid escape sequence \s
    '\s*\$Path="\/acme"')

tests/test_future/test_urllib.py:536
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib.py:536: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib.py:611
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib.py:611: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllib_toplevel.py:551
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:551: DeprecationWarning: invalid escape sequence \^
    """Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib_toplevel.py:626
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:626: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'ab'),urllib_parse.splitpasswd('user:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\nb'),urllib_parse.splitpasswd('user:a\nb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\tb'),urllib_parse.splitpasswd('user:a\tb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\rb'),urllib_parse.splitpasswd('user:a\rb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\fb'),urllib_parse.splitpasswd('user:a\fb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1216: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\vb'),urllib_parse.splitpasswd('user:a\vb'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1217: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a:b'),urllib_parse.splitpasswd('user:a:b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1218: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a b'),urllib_parse.splitpasswd('user:a b'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1219: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user 2', 'ab'),urllib_parse.splitpasswd('user 2:ab'))

tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllib_toplevel.py:1220: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user+1', 'a+b'),urllib_parse.splitpasswd('user+1:a+b'))

tests/test_future/test_urllibnet.py::urlopenNetworkTests::test_getcode
tests/test_future/test_urllibnet.py::test_main
  /home/tkloczko/rpmbuild/BUILD/python-future-1.0.0/tests/test_future/test_urllibnet.py:103: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    open_url = urllib_request.FancyURLopener().open(URL)

tests/test_past/test_oldstr.py::TestOldStr::test_unescape
  /home/tkloczko/rpmbuild/BUILDROOT/python-future-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages/past/types/oldstr.py:37: DeprecationWarning: invalid escape sequence '\c'
    return s.encode().decode('unicode_escape')

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ==================================================================================
SKIPPED [1] tests/test_future/test_builtins.py:499: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_builtins.py:1418: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1424: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:1429: stdin and stdout must be ttys
SKIPPED [1] tests/test_future/test_builtins.py:482: FIXME: skip on narrow builds?
SKIPPED [1] tests/test_future/test_bytes.py:77: test not needed on Py3: all ints are long
SKIPPED [1] tests/test_future/test_bytes.py:555: test requires Python 2
SKIPPED [1] tests/test_future/test_futurize.py:553: not implemented yet
SKIPPED [1] tests/test_future/test_futurize.py:301: --tobytes feature removed for now ...
SKIPPED [1] tests/test_future/test_futurize.py:695: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:653: Infinite loop?
SKIPPED [1] tests/test_future/test_futurize.py:671: Not working yet ...
SKIPPED [1] tests/test_future/test_htmlparser.py:393: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_htmlparser.py:379: not working on Py3.3.4 for some reason ...
SKIPPED [1] tests/test_future/test_httplib.py:415: disabled for HTTP 0.9 support
SKIPPED [1] tests/test_future/test_int.py:649: test requires NumPy
SKIPPED [1] tests/test_future/test_int.py:268: The first parameter must be positional with Python >= 3.7
SKIPPED [1] tests/test_future/test_int_old_division.py:27: old division tests only for Py2
SKIPPED [1] tests/test_future/test_int_old_division.py:81: old division tests only for Py2
SKIPPED [1] tests/test_future/test_int_old_division.py:36: old division tests only for Py2
SKIPPED [1] tests/test_future/test_int_old_division.py:51: old division tests only for Py2
SKIPPED [1] tests/test_future/test_magicsuper.py:54: this test isn't relevant on Py3
SKIPPED [1] tests/test_future/test_magicsuper.py:100: this test isn't relevant for Py3's super()
SKIPPED [1] tests/test_future/test_standard_library.py:256: generic import tests are for Py2 only
SKIPPED [1] tests/test_future/test_standard_library.py:188: not testing for old urllib on Py3
SKIPPED [1] tests/test_future/test_standard_library.py:328: Not testing tkinter import (it may be installed separately from Python)
SKIPPED [1] tests/test_future/test_standard_library.py:337: ssl redirect support on pypi isn't working as expected for now ...
SKIPPED [1] tests/test_future/test_str.py:455: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_str.py:466: Fails on Python <= 2.7.6 due to string subclass slicing bug
SKIPPED [1] tests/test_future/test_urllib.py:1169: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllib2.py:1242: only relevant for OSX
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:273: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:225: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:236: skipping test that uses https
SKIPPED [1] tests/test_future/test_urllib_toplevel.py:1187: test specific to the urllib.url2path function.
SKIPPED [1] tests/test_future/test_urllibnet.py:112: test not applicable on Python 3.5 and higher
SKIPPED [1] tests/test_past/test_olddict.py:525: Comparing dicts for order has not been forward-ported
XFAIL tests/test_future/test_bytes.py::TestBytes::test_hash_with_native_types - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_file - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_izip - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_no_unneeded_list_calls - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeSimple::test_problematic_string - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeRenamedStdlib::test_Py2_StringIO_module - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_absolute_import_changes - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_issue_12 - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_next_2 - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_print_already_function_complex - reason:
XFAIL tests/test_future/test_futurize.py::TestFuturizeStage1::test_string_exceptions - reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_basestring - reason:
XFAIL tests/test_future/test_futurize.py::TestConservativeFuturize::test_open - reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_exception_indentation - reason:
XFAIL tests/test_future/test_pasteurize.py::TestPasteurize::test_urllib_request - reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_return_annotations_alone - reason:
XFAIL tests/test_future/test_pasteurize.py::TestFuturizeAnnotations::test_single_param_annotations - reason:
XFAIL tests/test_future/test_str.py::TestStr::test_u_literal_creates_newstr_object - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_apply - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_bytearray_translate - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_callable - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_chr - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_cmp - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_coerce - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_compile - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_eval - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_filter_subclasses - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_format - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_general_eval - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_getattr - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_hasattr - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_input_and_raw_input - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_intern - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_iter - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_len - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_min - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_next - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_oct - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_ord - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_pow - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_range - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_round - reason:
XFAIL tests/test_past/test_builtins.py::BuiltinTest::test_unichr - reason:
XFAIL tests/test_past/test_builtins.py::TestSorted::test_basic - reason:
XFAIL tests/test_past/test_translation.py::TestTranslate::test_import_builtin_types - reason:
================================================================ 1060 passed, 37 skipped, 46 xfailed, 23 warnings in 28.79s =================================================================

So it is not failing now but still I think that it is something to do .. 🤔

@edschofield
Copy link
Contributor

edschofield commented Feb 21, 2024 via email

@kloczek
Copy link
Author

kloczek commented Feb 22, 2024

I think that it would be good to star cut that tail to at least support python 3.9.

@cclauss
Copy link
Contributor

cclauss commented Feb 22, 2024

DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+


setup.py build
setup.py install --root </install/prefix>

Warning: Running python setup.py directly as a script is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants