# -*- coding: utf-8 -*-

from django.conf.urls import patterns, include, url
from django.views.generic import View


urlpatterns = patterns('',
    url(r'foo$', View.as_view(), name="foo"),
)

@@ -50,32 +50,13 @@
 port
- patterns, include,
  url%0A
+
 from
@@ -109,20 +109,9 @@
 s = 
-patterns('',
+%5B
 %0A   
@@ -153,10 +153,10 @@
 %22foo%22),%0A
-)
+%5D
 %0A

Fix tests remove unneccessary imports