mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
fix circular reference in utils and testcase module
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
#coding: utf-8
|
||||
import json
|
||||
|
||||
try:
|
||||
FileNotFoundError = FileNotFoundError
|
||||
except NameError:
|
||||
FileNotFoundError = IOError
|
||||
|
||||
try:
|
||||
JSONDecodeError = json.decoder.JSONDecodeError
|
||||
except AttributeError:
|
||||
JSONDecodeError = ValueError
|
||||
|
||||
class MyBaseError(BaseException):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user