mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix relative import. This fixes test_sax.py.
This commit is contained in:
@@ -113,7 +113,7 @@ class IncrementalParser(XMLReader):
|
||||
XMLReader.__init__(self)
|
||||
|
||||
def parse(self, source):
|
||||
import saxutils
|
||||
from . import saxutils
|
||||
source = saxutils.prepare_input_source(source)
|
||||
|
||||
self.prepareParser(source)
|
||||
|
||||
Reference in New Issue
Block a user