mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-05 19:55:47 +03:00
fix eden build with python 3.12
Summary: X-link: https://github.com/facebookincubator/velox/pull/7653 fix eden build with python 3.12 python 3.12 removes many long deprecated unittest features including _TextTestResult (deprecated in Python 3.2) notices as fedora 39 ships with python 3.12 X-link: https://github.com/facebook/sapling/pull/778 Differential Revision: D51455615 fbshipit-source-id: f690f14b24b2645578113f769669179fba476657
This commit is contained in:
committed by
Facebook GitHub Bot
parent
577bb7d287
commit
6983dc11b2
@@ -194,7 +194,7 @@ class CallbackStream(object):
|
||||
return self._fileno
|
||||
|
||||
|
||||
class BuckTestResult(unittest._TextTestResult):
|
||||
class BuckTestResult(unittest.TextTestResult):
|
||||
"""
|
||||
Our own TestResult class that outputs data in a format that can be easily
|
||||
parsed by buck's test runner.
|
||||
|
Reference in New Issue
Block a user