|
|
@ -12,6 +12,7 @@
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
import unittest
|
|
|
|
import unittest
|
|
|
|
import functools
|
|
|
|
import functools
|
|
|
@ -171,6 +172,7 @@ class TestMultiProcessReader(unittest.TestCase):
|
|
|
|
self.assertEqual(sorted(self.samples), sorted(results))
|
|
|
|
self.assertEqual(sorted(self.samples), sorted(results))
|
|
|
|
|
|
|
|
|
|
|
|
def test_distributed_batch_reader(self):
|
|
|
|
def test_distributed_batch_reader(self):
|
|
|
|
|
|
|
|
if sys.platform != 'win32':
|
|
|
|
self.reader_test(use_pipe=False)
|
|
|
|
self.reader_test(use_pipe=False)
|
|
|
|
self.reader_test(use_pipe=True)
|
|
|
|
self.reader_test(use_pipe=True)
|
|
|
|
|
|
|
|
|
|
|
|