forked from github/pelican
Merge pull request #2389 from farseerfc/master
Fix DeprecationWarning in tests about collections.abc
This commit is contained in:
commit
ddb5f4ed71
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import collections
|
||||
try:
|
||||
import collections.abc as collections
|
||||
except ImportError:
|
||||
import collections
|
||||
|
||||
import locale
|
||||
import logging
|
||||
import os
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue