~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Lib/test/test_urllib.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
640
640
 
641
641
 
642
642
def test_main():
643
 
    test_support.run_unittest(
644
 
        urlopen_FileTests,
645
 
        urlopen_HttpTests,
646
 
        urlretrieve_FileTests,
647
 
        QuotingTests,
648
 
        UnquotingTests,
649
 
        urlencode_Tests,
650
 
        Pathname_Tests,
651
 
        #FTPWrapperTests,
652
 
    )
 
643
    import warnings
 
644
    with warnings.catch_warnings():
 
645
        warnings.filterwarnings('ignore', ".*urllib\.urlopen.*Python 3.0",
 
646
                                DeprecationWarning)
 
647
        test_support.run_unittest(
 
648
            urlopen_FileTests,
 
649
            urlopen_HttpTests,
 
650
            urlretrieve_FileTests,
 
651
            QuotingTests,
 
652
            UnquotingTests,
 
653
            urlencode_Tests,
 
654
            Pathname_Tests,
 
655
            #FTPWrapperTests,
 
656
        )
653
657
 
654
658
 
655
659