Update testing.py

there was a change in Python 3.10 and the Mapping class has been moved to the collections.abc module. So, if you're using Python 3.10 or later, you should import the Mapping class from the collections.abc module, not the collections module
pull/713/head
Naveen Mittal 2023-12-07 11:56:30 +05:30 committed by GitHub
parent 817c748e8c
commit fd586884ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
import logging
import pprint
import sys
from collections import Mapping, OrderedDict
from collections import OrderedDict
from collections.abc import Mapping
import numpy as np
from tabulate import tabulate