[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #30847 [Core Tor/Stem]: Failed unit tests with Python 3.8
#30847: Failed unit tests with Python 3.8
----------------------+-------------------------------
Reporter: miceliux | Owner: atagar
Type: defect | Status: new
Priority: Medium | Component: Core Tor/Stem
Version: | Severity: Normal
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------+-------------------------------
There are some errors when running unit tests on Python 3.8:
+ /usr/bin/python3 run_tests.py --unit
======================================================================
INITIALISING
======================================================================
stem version... 1.7.1
python version... 3.8.0a4
operating system version... failed
module 'platform' has no attribute 'linux_distribution'
BUILDSTDERR: /builddir/build/BUILD/stem-1.7.1/test/output.py:150:
SyntaxWarning: invalid escape sequence \(
BUILDSTDERR: m = re.match('.*( \(test\..*?\)).*', line_content)
BUILDSTDERR: /builddir/build/BUILD/stem-1.7.1/test/output.py:163:
SyntaxWarning: invalid escape sequence \.
BUILDSTDERR: m = re.search('(test\.[^)]*)', line_content)
BUILDSTDERR: /builddir/build/BUILD/stem-1.7.1/test/output.py:264:
SyntaxWarning: invalid escape sequence \(
BUILDSTDERR: module_match = re.match('.*\((test\.\S+)\.\S+\).*',
line_content)
BUILDSTDERR: /builddir/build/BUILD/stem-1.7.1/test/task.py:140:
SyntaxWarning: invalid escape sequence \S
BUILDSTDERR: test_match = re.search('^class
(\S*)\(unittest.TestCase\):$', file_contents, re.MULTILINE)
BUILDSTDERR: /usr/lib/python3.8/site-packages/pep8.py:110: FutureWarning:
Possible nested set at position 1
BUILDSTDERR: EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] |
[]}),;:]')
Full log here:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-
rawhide-x86_64/00917176-python-stem/build.log.gz
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30847>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs