def test_trivial(self):
        # A couple trivial tests

        self.assertRaises(ValueError, urllib.request.urlopen, 'bogus url')

        # XXX Name hacking to get this to work on Windows.
        fname = os.path.abspath(urllib.request.__file__).replace('\\', '/')

        if os.name == 'nt':
            file_url = fname % "file:///%s"
        else:
            file_url = "file://%s" % fname

        f = urllib.request.urlopen(file_url)

        f.read()
        f.close()
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_urllib2.py/TrivialTests.test_trivial/swapped operands of `%`